(global.webpackJsonp = global.webpackJsonp || []).push([ [ "uview-ui/components/u-lazy-load/u-lazy-load" ], {
    1619: function(A, i, t) {},
    "63c2": function(A, i, t) {
        t.r(i);
        var e = t("7a3d"), I = t("9b61");
        for (var E in I) [ "default" ].indexOf(E) < 0 && function(A) {
            t.d(i, A, function() {
                return I[A];
            });
        }(E);
        t("8695");
        var g = t("f0c5"), n = Object(g.a)(I.default, e.b, e.c, !1, null, "7b16dff3", null, !1, e.a, void 0);
        i.default = n.exports;
    },
    "7a3d": function(A, i, t) {
        t.d(i, "b", function() {
            return e;
        }), t.d(i, "c", function() {
            return I;
        }), t.d(i, "a", function() {});
        var e = function() {
            this.$createElement;
            var A = (this._self._c, Number(this.opacity));
            this.$mp.data = Object.assign({}, {
                $root: {
                    m0: A
                }
            });
        }, I = [];
    },
    8695: function(A, i, t) {
        var e = t("1619");
        t.n(e).a;
    },
    "9b61": function(A, i, t) {
        t.r(i);
        var e = t("f4c3"), I = t.n(e);
        for (var E in e) [ "default" ].indexOf(E) < 0 && function(A) {
            t.d(i, A, function() {
                return e[A];
            });
        }(E);
        i.default = I.a;
    },
    f4c3: function(A, i, t) {
        (function(A) {
            Object.defineProperty(i, "__esModule", {
                value: !0
            }), i.default = void 0;
            var t = {
                name: "u-lazy-load",
                props: {
                    index: {
                        type: [ Number, String ]
                    },
                    image: {
                        type: String,
                        default: ""
                    },
                    imgMode: {
                        type: String,
                        default: "widthFix"
                    },
                    loadingImg: {
                        type: String,
                        default: ""
                    },
                    errorImg: {
                        type: String,
                        default: ""
                    },
                    threshold: {
                        type: [ Number, String ],
                        default: 100
                    },
                    duration: {
                        type: [ Number, String ],
                        default: 500
                    },
                    effect: {
                        type: String,
                        default: "ease-in-out"
                    },
                    isEffect: {
                        type: Boolean,
                        default: !0
                    },
                    borderRadius: {
                        type: [ Number, String ],
                        default: 0
                    },
                    height: {
                        type: [ Number, String ],
                        default: "450"
                    }
                },
                data: function() {
                    return {
                        isShow: !1,
                        opacity: 1,
                        time: this.duration,
                        loadStatus: "",
                        isError: !1,
                        elIndex: this.$u.guid()
                    };
                },
                computed: {
                    getThreshold: function() {
                        var i = A.upx2px(Math.abs(this.threshold));
                        return this.threshold < 0 ? -i : i;
                    },
                    imgHeight: function() {
                        return this.$u.addUnit(this.height);
                    }
                },
                created: function() {
                    this.observer = {};
                },
                watch: {
                    isShow: function(A) {
                        var i = this;
                        this.isEffect && (this.time = 0, this.opacity = 0, setTimeout(function() {
                            i.time = i.duration, i.opacity = 1;
                        }, 30));
                    },
                    image: function(A) {
                        A ? (this.init(), this.isError = !1) : this.isError = !0;
                    }
                },
                methods: {
                    init: function() {
                        this.isError = !1, this.loadStatus = "";
                    },
                    clickImg: function() {
                        0 == this.isShow || this.isError, this.$emit("click", this.index);
                    },
                    imgLoaded: function() {
                        "" == this.loadStatus ? this.loadStatus = "lazyed" : "lazyed" == this.loadStatus && (this.loadStatus = "loaded", 
                        this.$emit("load", this.index));
                    },
                    errorImgLoaded: function() {
                        this.$emit("error", this.index);
                    },
                    loadError: function() {
                        this.isError = !0;
                    },
                    disconnectObserver: function(A) {
                        var i = this[A];
                        i && i.disconnect();
                    }
                },
                beforeDestroy: function() {},
                mounted: function() {
                    var i = this;
                    this.$nextTick(function() {
                        A.$once("uOnReachBottom", function() {
                            i.isShow || (i.isShow = !0);
                        });
                    }), setTimeout(function() {
                        i.disconnectObserver("contentObserver");
                        var t = A.createIntersectionObserver(i);
                        t.relativeToViewport({
                            bottom: i.getThreshold
                        }).observe(".u-lazy-item-" + i.elIndex, function(A) {
                            A.intersectionRatio > 0 && (i.isShow = !0, i.disconnectObserver("contentObserver"));
                        }), i.contentObserver = t;
                    }, 30);
                }
            };
            i.default = t;
        }).call(this, t("543d").default);
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "uview-ui/components/u-lazy-load/u-lazy-load-create-component", {
    "uview-ui/components/u-lazy-load/u-lazy-load-create-component": function(A, i, t) {
        t("543d").createComponent(t("63c2"));
    }
}, [ [ "uview-ui/components/u-lazy-load/u-lazy-load-create-component" ] ] ]);